Optimal. Leaf size=608 \[ -\frac {d^2 e^{a/b} \sqrt {\pi } \text {Erf}\left (\frac {\sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{2 \sqrt {b} c}-\frac {d e e^{a/b} \sqrt {\pi } \text {Erf}\left (\frac {\sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{4 \sqrt {b} c^3}-\frac {e^2 e^{a/b} \sqrt {\pi } \text {Erf}\left (\frac {\sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{16 \sqrt {b} c^5}-\frac {d e e^{\frac {3 a}{b}} \sqrt {\frac {\pi }{3}} \text {Erf}\left (\frac {\sqrt {3} \sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{4 \sqrt {b} c^3}-\frac {e^2 e^{\frac {3 a}{b}} \sqrt {3 \pi } \text {Erf}\left (\frac {\sqrt {3} \sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{32 \sqrt {b} c^5}-\frac {e^2 e^{\frac {5 a}{b}} \sqrt {\frac {\pi }{5}} \text {Erf}\left (\frac {\sqrt {5} \sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{32 \sqrt {b} c^5}+\frac {d^2 e^{-\frac {a}{b}} \sqrt {\pi } \text {Erfi}\left (\frac {\sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{2 \sqrt {b} c}+\frac {d e e^{-\frac {a}{b}} \sqrt {\pi } \text {Erfi}\left (\frac {\sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{4 \sqrt {b} c^3}+\frac {e^2 e^{-\frac {a}{b}} \sqrt {\pi } \text {Erfi}\left (\frac {\sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{16 \sqrt {b} c^5}+\frac {d e e^{-\frac {3 a}{b}} \sqrt {\frac {\pi }{3}} \text {Erfi}\left (\frac {\sqrt {3} \sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{4 \sqrt {b} c^3}+\frac {e^2 e^{-\frac {3 a}{b}} \sqrt {3 \pi } \text {Erfi}\left (\frac {\sqrt {3} \sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{32 \sqrt {b} c^5}+\frac {e^2 e^{-\frac {5 a}{b}} \sqrt {\frac {\pi }{5}} \text {Erfi}\left (\frac {\sqrt {5} \sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{32 \sqrt {b} c^5} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.77, antiderivative size = 608, normalized size of antiderivative = 1.00, number of steps
used = 39, number of rules used = 8, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.364, Rules used = {5909, 5881,
3389, 2211, 2236, 2235, 5887, 5556} \begin {gather*} -\frac {\sqrt {\pi } e^2 e^{a/b} \text {Erf}\left (\frac {\sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{16 \sqrt {b} c^5}-\frac {\sqrt {3 \pi } e^2 e^{\frac {3 a}{b}} \text {Erf}\left (\frac {\sqrt {3} \sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{32 \sqrt {b} c^5}-\frac {\sqrt {\frac {\pi }{5}} e^2 e^{\frac {5 a}{b}} \text {Erf}\left (\frac {\sqrt {5} \sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{32 \sqrt {b} c^5}+\frac {\sqrt {\pi } e^2 e^{-\frac {a}{b}} \text {Erfi}\left (\frac {\sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{16 \sqrt {b} c^5}+\frac {\sqrt {3 \pi } e^2 e^{-\frac {3 a}{b}} \text {Erfi}\left (\frac {\sqrt {3} \sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{32 \sqrt {b} c^5}+\frac {\sqrt {\frac {\pi }{5}} e^2 e^{-\frac {5 a}{b}} \text {Erfi}\left (\frac {\sqrt {5} \sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{32 \sqrt {b} c^5}-\frac {\sqrt {\pi } d e e^{a/b} \text {Erf}\left (\frac {\sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{4 \sqrt {b} c^3}-\frac {\sqrt {\frac {\pi }{3}} d e e^{\frac {3 a}{b}} \text {Erf}\left (\frac {\sqrt {3} \sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{4 \sqrt {b} c^3}+\frac {\sqrt {\pi } d e e^{-\frac {a}{b}} \text {Erfi}\left (\frac {\sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{4 \sqrt {b} c^3}+\frac {\sqrt {\frac {\pi }{3}} d e e^{-\frac {3 a}{b}} \text {Erfi}\left (\frac {\sqrt {3} \sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{4 \sqrt {b} c^3}-\frac {\sqrt {\pi } d^2 e^{a/b} \text {Erf}\left (\frac {\sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{2 \sqrt {b} c}+\frac {\sqrt {\pi } d^2 e^{-\frac {a}{b}} \text {Erfi}\left (\frac {\sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{2 \sqrt {b} c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2211
Rule 2235
Rule 2236
Rule 3389
Rule 5556
Rule 5881
Rule 5887
Rule 5909
Rubi steps
\begin {align*} \int \frac {\left (d+e x^2\right )^2}{\sqrt {a+b \cosh ^{-1}(c x)}} \, dx &=\int \left (\frac {d^2}{\sqrt {a+b \cosh ^{-1}(c x)}}+\frac {2 d e x^2}{\sqrt {a+b \cosh ^{-1}(c x)}}+\frac {e^2 x^4}{\sqrt {a+b \cosh ^{-1}(c x)}}\right ) \, dx\\ &=d^2 \int \frac {1}{\sqrt {a+b \cosh ^{-1}(c x)}} \, dx+(2 d e) \int \frac {x^2}{\sqrt {a+b \cosh ^{-1}(c x)}} \, dx+e^2 \int \frac {x^4}{\sqrt {a+b \cosh ^{-1}(c x)}} \, dx\\ &=-\frac {d^2 \text {Subst}\left (\int \frac {\sinh \left (\frac {a}{b}-\frac {x}{b}\right )}{\sqrt {x}} \, dx,x,a+b \cosh ^{-1}(c x)\right )}{b c}+\frac {(2 d e) \text {Subst}\left (\int \frac {\cosh ^2(x) \sinh (x)}{\sqrt {a+b x}} \, dx,x,\cosh ^{-1}(c x)\right )}{c^3}+\frac {e^2 \text {Subst}\left (\int \frac {\cosh ^4(x) \sinh (x)}{\sqrt {a+b x}} \, dx,x,\cosh ^{-1}(c x)\right )}{c^5}\\ &=-\frac {d^2 \text {Subst}\left (\int \frac {e^{-i \left (\frac {i a}{b}-\frac {i x}{b}\right )}}{\sqrt {x}} \, dx,x,a+b \cosh ^{-1}(c x)\right )}{2 b c}+\frac {d^2 \text {Subst}\left (\int \frac {e^{i \left (\frac {i a}{b}-\frac {i x}{b}\right )}}{\sqrt {x}} \, dx,x,a+b \cosh ^{-1}(c x)\right )}{2 b c}+\frac {(2 d e) \text {Subst}\left (\int \left (\frac {\sinh (x)}{4 \sqrt {a+b x}}+\frac {\sinh (3 x)}{4 \sqrt {a+b x}}\right ) \, dx,x,\cosh ^{-1}(c x)\right )}{c^3}+\frac {e^2 \text {Subst}\left (\int \left (\frac {\sinh (x)}{8 \sqrt {a+b x}}+\frac {3 \sinh (3 x)}{16 \sqrt {a+b x}}+\frac {\sinh (5 x)}{16 \sqrt {a+b x}}\right ) \, dx,x,\cosh ^{-1}(c x)\right )}{c^5}\\ &=-\frac {d^2 \text {Subst}\left (\int e^{\frac {a}{b}-\frac {x^2}{b}} \, dx,x,\sqrt {a+b \cosh ^{-1}(c x)}\right )}{b c}+\frac {d^2 \text {Subst}\left (\int e^{-\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {a+b \cosh ^{-1}(c x)}\right )}{b c}+\frac {(d e) \text {Subst}\left (\int \frac {\sinh (x)}{\sqrt {a+b x}} \, dx,x,\cosh ^{-1}(c x)\right )}{2 c^3}+\frac {(d e) \text {Subst}\left (\int \frac {\sinh (3 x)}{\sqrt {a+b x}} \, dx,x,\cosh ^{-1}(c x)\right )}{2 c^3}+\frac {e^2 \text {Subst}\left (\int \frac {\sinh (5 x)}{\sqrt {a+b x}} \, dx,x,\cosh ^{-1}(c x)\right )}{16 c^5}+\frac {e^2 \text {Subst}\left (\int \frac {\sinh (x)}{\sqrt {a+b x}} \, dx,x,\cosh ^{-1}(c x)\right )}{8 c^5}+\frac {\left (3 e^2\right ) \text {Subst}\left (\int \frac {\sinh (3 x)}{\sqrt {a+b x}} \, dx,x,\cosh ^{-1}(c x)\right )}{16 c^5}\\ &=-\frac {d^2 e^{a/b} \sqrt {\pi } \text {erf}\left (\frac {\sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{2 \sqrt {b} c}+\frac {d^2 e^{-\frac {a}{b}} \sqrt {\pi } \text {erfi}\left (\frac {\sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{2 \sqrt {b} c}-\frac {(d e) \text {Subst}\left (\int \frac {e^{-3 x}}{\sqrt {a+b x}} \, dx,x,\cosh ^{-1}(c x)\right )}{4 c^3}-\frac {(d e) \text {Subst}\left (\int \frac {e^{-x}}{\sqrt {a+b x}} \, dx,x,\cosh ^{-1}(c x)\right )}{4 c^3}+\frac {(d e) \text {Subst}\left (\int \frac {e^x}{\sqrt {a+b x}} \, dx,x,\cosh ^{-1}(c x)\right )}{4 c^3}+\frac {(d e) \text {Subst}\left (\int \frac {e^{3 x}}{\sqrt {a+b x}} \, dx,x,\cosh ^{-1}(c x)\right )}{4 c^3}-\frac {e^2 \text {Subst}\left (\int \frac {e^{-5 x}}{\sqrt {a+b x}} \, dx,x,\cosh ^{-1}(c x)\right )}{32 c^5}+\frac {e^2 \text {Subst}\left (\int \frac {e^{5 x}}{\sqrt {a+b x}} \, dx,x,\cosh ^{-1}(c x)\right )}{32 c^5}-\frac {e^2 \text {Subst}\left (\int \frac {e^{-x}}{\sqrt {a+b x}} \, dx,x,\cosh ^{-1}(c x)\right )}{16 c^5}+\frac {e^2 \text {Subst}\left (\int \frac {e^x}{\sqrt {a+b x}} \, dx,x,\cosh ^{-1}(c x)\right )}{16 c^5}-\frac {\left (3 e^2\right ) \text {Subst}\left (\int \frac {e^{-3 x}}{\sqrt {a+b x}} \, dx,x,\cosh ^{-1}(c x)\right )}{32 c^5}+\frac {\left (3 e^2\right ) \text {Subst}\left (\int \frac {e^{3 x}}{\sqrt {a+b x}} \, dx,x,\cosh ^{-1}(c x)\right )}{32 c^5}\\ &=-\frac {d^2 e^{a/b} \sqrt {\pi } \text {erf}\left (\frac {\sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{2 \sqrt {b} c}+\frac {d^2 e^{-\frac {a}{b}} \sqrt {\pi } \text {erfi}\left (\frac {\sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{2 \sqrt {b} c}-\frac {(d e) \text {Subst}\left (\int e^{\frac {3 a}{b}-\frac {3 x^2}{b}} \, dx,x,\sqrt {a+b \cosh ^{-1}(c x)}\right )}{2 b c^3}-\frac {(d e) \text {Subst}\left (\int e^{\frac {a}{b}-\frac {x^2}{b}} \, dx,x,\sqrt {a+b \cosh ^{-1}(c x)}\right )}{2 b c^3}+\frac {(d e) \text {Subst}\left (\int e^{-\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {a+b \cosh ^{-1}(c x)}\right )}{2 b c^3}+\frac {(d e) \text {Subst}\left (\int e^{-\frac {3 a}{b}+\frac {3 x^2}{b}} \, dx,x,\sqrt {a+b \cosh ^{-1}(c x)}\right )}{2 b c^3}-\frac {e^2 \text {Subst}\left (\int e^{\frac {5 a}{b}-\frac {5 x^2}{b}} \, dx,x,\sqrt {a+b \cosh ^{-1}(c x)}\right )}{16 b c^5}+\frac {e^2 \text {Subst}\left (\int e^{-\frac {5 a}{b}+\frac {5 x^2}{b}} \, dx,x,\sqrt {a+b \cosh ^{-1}(c x)}\right )}{16 b c^5}-\frac {e^2 \text {Subst}\left (\int e^{\frac {a}{b}-\frac {x^2}{b}} \, dx,x,\sqrt {a+b \cosh ^{-1}(c x)}\right )}{8 b c^5}+\frac {e^2 \text {Subst}\left (\int e^{-\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {a+b \cosh ^{-1}(c x)}\right )}{8 b c^5}-\frac {\left (3 e^2\right ) \text {Subst}\left (\int e^{\frac {3 a}{b}-\frac {3 x^2}{b}} \, dx,x,\sqrt {a+b \cosh ^{-1}(c x)}\right )}{16 b c^5}+\frac {\left (3 e^2\right ) \text {Subst}\left (\int e^{-\frac {3 a}{b}+\frac {3 x^2}{b}} \, dx,x,\sqrt {a+b \cosh ^{-1}(c x)}\right )}{16 b c^5}\\ &=-\frac {d^2 e^{a/b} \sqrt {\pi } \text {erf}\left (\frac {\sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{2 \sqrt {b} c}-\frac {d e e^{a/b} \sqrt {\pi } \text {erf}\left (\frac {\sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{4 \sqrt {b} c^3}-\frac {e^2 e^{a/b} \sqrt {\pi } \text {erf}\left (\frac {\sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{16 \sqrt {b} c^5}-\frac {d e e^{\frac {3 a}{b}} \sqrt {\frac {\pi }{3}} \text {erf}\left (\frac {\sqrt {3} \sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{4 \sqrt {b} c^3}-\frac {e^2 e^{\frac {3 a}{b}} \sqrt {3 \pi } \text {erf}\left (\frac {\sqrt {3} \sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{32 \sqrt {b} c^5}-\frac {e^2 e^{\frac {5 a}{b}} \sqrt {\frac {\pi }{5}} \text {erf}\left (\frac {\sqrt {5} \sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{32 \sqrt {b} c^5}+\frac {d^2 e^{-\frac {a}{b}} \sqrt {\pi } \text {erfi}\left (\frac {\sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{2 \sqrt {b} c}+\frac {d e e^{-\frac {a}{b}} \sqrt {\pi } \text {erfi}\left (\frac {\sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{4 \sqrt {b} c^3}+\frac {e^2 e^{-\frac {a}{b}} \sqrt {\pi } \text {erfi}\left (\frac {\sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{16 \sqrt {b} c^5}+\frac {d e e^{-\frac {3 a}{b}} \sqrt {\frac {\pi }{3}} \text {erfi}\left (\frac {\sqrt {3} \sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{4 \sqrt {b} c^3}+\frac {e^2 e^{-\frac {3 a}{b}} \sqrt {3 \pi } \text {erfi}\left (\frac {\sqrt {3} \sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{32 \sqrt {b} c^5}+\frac {e^2 e^{-\frac {5 a}{b}} \sqrt {\frac {\pi }{5}} \text {erfi}\left (\frac {\sqrt {5} \sqrt {a+b \cosh ^{-1}(c x)}}{\sqrt {b}}\right )}{32 \sqrt {b} c^5}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.79, size = 530, normalized size = 0.87 \begin {gather*} \frac {e^{-\frac {5 a}{b}} \left (30 \left (8 c^4 d^2+4 c^2 d e+e^2\right ) e^{\frac {6 a}{b}} \sqrt {\frac {a}{b}+\cosh ^{-1}(c x)} \Gamma \left (\frac {1}{2},\frac {a}{b}+\cosh ^{-1}(c x)\right )+3 \sqrt {5} e^2 \sqrt {-\frac {a+b \cosh ^{-1}(c x)}{b}} \Gamma \left (\frac {1}{2},-\frac {5 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )+40 \sqrt {3} c^2 d e e^{\frac {2 a}{b}} \sqrt {-\frac {a+b \cosh ^{-1}(c x)}{b}} \Gamma \left (\frac {1}{2},-\frac {3 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )+15 \sqrt {3} e^2 e^{\frac {2 a}{b}} \sqrt {-\frac {a+b \cosh ^{-1}(c x)}{b}} \Gamma \left (\frac {1}{2},-\frac {3 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )+240 c^4 d^2 e^{\frac {4 a}{b}} \sqrt {-\frac {a+b \cosh ^{-1}(c x)}{b}} \Gamma \left (\frac {1}{2},-\frac {a+b \cosh ^{-1}(c x)}{b}\right )+120 c^2 d e e^{\frac {4 a}{b}} \sqrt {-\frac {a+b \cosh ^{-1}(c x)}{b}} \Gamma \left (\frac {1}{2},-\frac {a+b \cosh ^{-1}(c x)}{b}\right )+30 e^2 e^{\frac {4 a}{b}} \sqrt {-\frac {a+b \cosh ^{-1}(c x)}{b}} \Gamma \left (\frac {1}{2},-\frac {a+b \cosh ^{-1}(c x)}{b}\right )+40 \sqrt {3} c^2 d e e^{\frac {8 a}{b}} \sqrt {\frac {a}{b}+\cosh ^{-1}(c x)} \Gamma \left (\frac {1}{2},\frac {3 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )+15 \sqrt {3} e^2 e^{\frac {8 a}{b}} \sqrt {\frac {a}{b}+\cosh ^{-1}(c x)} \Gamma \left (\frac {1}{2},\frac {3 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )+3 \sqrt {5} e^2 e^{\frac {10 a}{b}} \sqrt {\frac {a}{b}+\cosh ^{-1}(c x)} \Gamma \left (\frac {1}{2},\frac {5 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )\right )}{480 c^5 \sqrt {a+b \cosh ^{-1}(c x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 180.00, size = 0, normalized size = 0.00 \[\int \frac {\left (e \,x^{2}+d \right )^{2}}{\sqrt {a +b \,\mathrm {arccosh}\left (c x \right )}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (d + e x^{2}\right )^{2}}{\sqrt {a + b \operatorname {acosh}{\left (c x \right )}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\left (e\,x^2+d\right )}^2}{\sqrt {a+b\,\mathrm {acosh}\left (c\,x\right )}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________